<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--

    Licensed to the Apache Software Foundation (ASF) under one
    or more contributor license agreements.  See the NOTICE file
    distributed with this work for additional information
    regarding copyright ownership.  The ASF licenses this file
    to you under the Apache License, Version 2.0 (the
    "License"); you may not use this file except in compliance
    with the License.  You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing,
    software distributed under the License is distributed on an
    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    KIND, either express or implied.  See the License for the
    specific language governing permissions and limitations
    under the License.

-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<title>Files Window</title>
<link rel="stylesheet" href="ide.css" title="Oracle BLAFDoc" type="text/css"/>
</head>

<body>
<p><a id="ProjectTab_Files" name="ProjectTab_Files"></a></p>
<div id="NBCSH723"><!-- infolevel="all" infotype="General" --><a id="sthref63" name="sthref63"></a>
<h1>Files Window</h1>
<a name="BEGIN" id="BEGIN"></a>
<p>The Files window shows a directory-based view of your projects, including any files and folders that are not displayed in the Projects Window.</p>
<p>You can right-click in the white space of the Files window to open a popup menu command that enables you to collapse all expanded nodes in the window.</p>
<p>Each element in the Files window has a context-sensitive pop-up menu of commands that you can apply to that element. You open the popup menu by right-clicking the element. The commands that are available will depend upon the selected element. The popup menu for project nodes does not contain the major project commands, such as <b>Build</b>, <b>Run</b>, and <b>Debug</b>. These commands are only available in the Projects window.</p>
<p>The following table describes many of the commands that are available when you right-click a folder or file in the Files window.</p>

<table summary="User interface elements and descriptions" dir="ltr" border="1" width="100%" frame="hsides" rules="groups" cellpadding="3" cellspacing="0">
<col width="24%" />
<col width="*" />
<thead>
<tr align="left" valign="top">
<th align="left" valign="bottom" id="r1c1-t68">Command</th>
<th align="left" valign="bottom" id="r1c2-t68">Description</th>
</tr>
</thead>
<tbody>
<tr align="left" valign="top">
<td align="left" id="r2c1-t68" headers="r1c1-t68">
<p>New</p>
</td>
<td align="left" headers="r2c1-t68 r1c2-t68">Enables you to create a new file in the selected folder.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r3c1-t68" headers="r1c1-t68">
<p>Find</p>
</td>
<td align="left" headers="r3c1-t68 r1c2-t68">Opens Find in Projects dialog box to search for instances of a specified text or a regular expression. 
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG2293">
<param name="text" value="<html><u>How?</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r4c1-t68" headers="r1c1-t68">
<p>Cut</p>
</td>
<td align="left" headers="r4c1-t68 r1c2-t68">Copies the selected element to clipboard and removes the element.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r5c1-t68" headers="r1c1-t68">
<p>Copy</p>
</td>
<td align="left" headers="r5c1-t68 r1c2-t68">Copies the selected element and contents to the clipboard.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r6c1-t68" headers="r1c1-t68">
<p>Paste</p>
</td>
<td align="left" headers="r6c1-t68 r1c2-t68">Adds element from clipboard to the selected folder.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r7c1-t68" headers="r1c1-t68">
<p>Delete</p>
</td>
<td align="left" headers="r7c1-t68 r1c2-t68">Deletes the selected element. Also deletes the contents if the element is a folder.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r8c1-t68" headers="r1c1-t68">
<p>Refactor</p>
</td>
<td align="left" headers="r8c1-t68 r1c2-t68">Opens a sub-menu with refactoring commands.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r9c1-t68" headers="r1c1-t68">
<p>&nbsp;&nbsp;&nbsp;&nbsp;Rename</p>
</td>
<td align="left" headers="r9c1-t68 r1c2-t68">Opens the Rename refactoring dialog box.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r10c1-t68" headers="r1c1-t68">
<p>&nbsp;&nbsp;&nbsp;&nbsp;Move</p>
</td>
<td align="left" headers="r10c1-t68 r1c2-t68">Opens the Move refactoring dialog box. This command is not available for all elements.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r11c1-t68" headers="r1c1-t68">
<p>&nbsp;&nbsp;&nbsp;&nbsp;Copy</p>
</td>
<td align="left" headers="r11c1-t68 r1c2-t68">Opens the Copy refactoring dialog box. This command is not available for all elements.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r12c1-t68" headers="r1c1-t68">
<p>&nbsp;&nbsp;&nbsp;&nbsp;Safely Delete</p>
</td>
<td align="left" headers="r12c1-t68 r1c2-t68">Opens the Safely Delete refactoring dialog box.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r13c1-t68" headers="r1c1-t68">
<p>History</p>
</td>
<td align="left" headers="r13c1-t68 r1c2-t68">Opens the History sub-menu.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r14c1-t68" headers="r1c1-t68">
<p>&nbsp;&nbsp;&nbsp;&nbsp;Show History</p>
</td>
<td align="left" headers="r14c1-t68 r1c2-t68">Opens the local history of the selected element. This command is not available for all elements. 
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG339">
<param name="text" value="<html><u>How?</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r15c1-t68" headers="r1c1-t68">
<p>&nbsp;&nbsp;&nbsp;&nbsp;Revert Deleted</p>
</td>
<td align="left" headers="r15c1-t68 r1c2-t68">Restores the deleted element. This command is not available for all elements. 
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG341">
<param name="text" value="<html><u>How?</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r16c1-t68" headers="r1c1-t68">
<p>Tools</p>
</td>
<td align="left" headers="r16c1-t68 r1c2-t68">Opens a sub-menu with various commands.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r17c1-t68" headers="r1c1-t68">
<p>&nbsp;&nbsp;&nbsp;&nbsp;Apply Diff Patch</p>
</td>
<td align="left" headers="r17c1-t68 r1c2-t68">Opens a dislog box that enables you to select a diff patch to apply to the selected element</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r18c1-t68" headers="r1c1-t68">
<p>&nbsp;&nbsp;&nbsp;&nbsp;Add to Favorites</p>
</td>
<td align="left" headers="r18c1-t68 r1c2-t68">Add the selected element as a top-level element in the Favorites window.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r19c1-t68" headers="r1c1-t68">
<p>&nbsp;&nbsp;&nbsp;&nbsp;Create Tests</p>
</td>
<td align="left" headers="r19c1-t68 r1c2-t68">Opens the Create Tests dialog box. 
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG667">
<param name="text" value="<html><u>How?</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r20c1-t68" headers="r1c1-t68">
<p>&nbsp;&nbsp;&nbsp;&nbsp;Analyze Javadoc</p>
</td>
<td align="left" headers="r20c1-t68 r1c2-t68">Opens the Analyzer window.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r21c1-t68" headers="r1c1-t68">
<p>Properties</p>
</td>
<td align="left" headers="r21c1-t68 r1c2-t68">Opens the Properties window for the folder or file.</td>
</tr>
</tbody>
</table>
<br />
<!-- -->
<a id="NBCSH744" name="NBCSH744"></a>
<hr><p><b>Related Topics</b></p>
<p><i>Developing Applications with NetBeans IDE</i>, 
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG217">
<param name="text" value="<html><u>&quot;Working with Source Files in NetBeans IDE&quot;</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</p>

<!-- -->
<!-- Start Footer -->


<table summary="" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td align="left" width="86%"><a href="legal_notice.htm">
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.</a>
</td>
</tr>
</table>
<!-- -->
</body>
</html>
